package shopping.service;



import shopping.bean.Goods;
import shopping.bean.Page;

import java.util.List;

public interface GoodsService {
    //    查询图书---根据id查询
    public Goods queryGoodsById(Integer id);
    //    查询所有图书
    public List<Goods> queryGoodss();

    Page<Goods> page(int pageNo, int pageSize);

    Page<Goods> pageByPrice(int pageNo, int pageSize, int min, int max);
}
